package com.cloudpolice.door.model;

import org.springframework.format.annotation.DateTimeFormat;
import sun.nio.ch.IOStatus;

import java.util.Date;

/**
 * @author ：梁昊，后端工程师：flyman5，前端工程师：孙耀
 * @create 2020-02-29 17:13
 * @function
 * @editLog
 */
public class EquipmentModel {
    /**
     * 设备SN号(不可重复主键)
     */
    private String id;
    /**
     * 设备名称
     */
    private String equipmentName;
    /**
     * 设备类型,1:门禁机,2:摄像头
     */
    private Integer equipmentType;
    /**
     * 设备的mac地址
     */
    private String mac;
    /**
     * 软件名
     */
    private String app;
    /**
     * 软件版本
     */
    private String version;
    /**
     * 设备ip
     */
    private String ip;
    /**
     * 通讯协议类型,1:ftp,2:http,3:https
     */
    private Integer protocol;
    /**
     * 创建者ID
     */
    private String createAuthor;
    /**
     * 更新者ID
     */
    private String updateAuthor;
    /**
     * 是否停用
     */
    private Boolean stopSign;
    /**
     * 备注
     */
    private String remark;

    public String getId(){
        return id;
    }

    public void setId(String id){
        this.id = id;
    }

    public String getEquipmentName(){
        return equipmentName;
    }

    public void setEquipmentName(String equipmentName){
        this.equipmentName = equipmentName;
    }

    public Integer getEquipmentType(){
        return equipmentType;
    }

    public void setEquipmentType(Integer equipmentType){
        this.equipmentType = equipmentType;
    }

    public String getMac(){
        return mac;
    }

    public void setMac(String mac){
        this.mac = mac;
    }

    public String getApp(){
        return app;
    }

    public void setApp(String app){
        this.app = app;
    }

    public String getVersion(){
        return version;
    }

    public void setVersion(String version){
        this.version = version;
    }

    public String getIp(){
        return ip;
    }

    public void setIp(String ip){
        this.ip = ip;
    }

    public Integer getProtocol(){
        return protocol;
    }

    public void setProtocol(Integer protocol){
        this.protocol = protocol;
    }

    public String getCreateAuthor(){
        return createAuthor;
    }

    public void setCreateAuthor(String createAuthor){
        this.createAuthor = createAuthor;
    }

    public String getUpdateAuthor(){
        return updateAuthor;
    }

    public void setUpdateAuthor(String updateAuthor){
        this.updateAuthor = updateAuthor;
    }

    public Boolean getStopSign(){
        return stopSign;
    }

    public void setStopSign(Boolean stopSign){
        this.stopSign = stopSign;
    }

    public String getRemark(){
        return remark;
    }

    public void setRemark(String remark){
        this.remark = remark;
    }
}
